package springdemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class IndexController {

	
	@GetMapping(value = {"", "/", "/index", "/index.html", "/index.htm"})
	@ResponseBody
	public String index(){
		return "test";
	}
	
}
